package com.smedi.ismedi.authoritymanagement.core.domain.service;

import com.smedi.ismedi.authoritymanagement.core.domain.aggregatemodel.AuthorityAccess;
import com.smedi.ismedi.authoritymanagement.core.domain.aggregatemodel.AccountBasic;

public interface AccountBasicDomainService {
    AccountBasic generateAccountBasic(AccountBasic data);

    void changePassword(String userKey, Long personId, String oldPassword, String newPassword);

    void resetPassword(Long userId, String newPassword);

    void changeMobile(String mobile, Long personId);

    String getAccountMobile(String callAccount);

    AccountBasic getAccountBasic(String callAccount);

    void editUserStatus(Long personId, boolean enable);

    void deleteAccount(Long personId);

    AuthorityAccess login(String account, String password,String clientId);
}
